package com.telecom.entity;

import lombok.Data;

@Data
public class PersonQuery extends Person {
    /*private Integer personId;
    private String personName;
    private Integer personAge;*/
    private Integer driverId;
    private String driverType;

    @Override
    public String toString() {
        return "PersonQuery{" +
                "driverId=" + driverId +
                ", driverType='" + driverType + '\'' +
                '}'+super.toString();
    }

    /*@Override
    public String toString() {
        return "PersonQuery{" +
                "personId=" + personId +
                ", personName='" + personName + '\'' +
                ", personAge=" + personAge +
                ", driverId=" + driverId +
                ", driverType='" + driverType + '\'' +
                '}';
    }*/
}
